package org.arch_learn.ioc_aop.ioc;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class CustomContextInitializer implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        BeanFactory.start();
    }

    @Override
    public void contextDestroyed(ServletContextEvent servletContextEvent) {

    }
}
